//
//  DDGoodsListToolBar.h
//  Dingdong
//
//  Created by 程强 on 16/11/25.
//  Copyright © 2016年 程强. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, DingDongSortGoodsType) {
    DingDongSortGoodsTypeWhole = 0,
    DingDongSortGoodsTypeVolume,
    DingDongSortGoodsTypeHighPrice,
    DingDongSortGoodsTypeLowPrice,
};

@class DDGoodsListToolBar;
@protocol DDGoodsListToolBarDelegate <NSObject>
- (void)toolBar:(DDGoodsListToolBar *)bar didSelectIndex:(DingDongSortGoodsType)sortType;

@end

@interface DDGoodsListToolBar : UIView
@property (weak, nonatomic) id<DDGoodsListToolBarDelegate> delegate;
@end
